[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
rtparagraphs Command/ startparallel Command/ startplacefloat Command/ startplacepairedbox Command/ startsection Command/ startsectionblock Command/ startstartstop Command/ startstop Command/ startstyle Command/ starttabulate Command/ starttextbackground Command/ starttyping Command/ startviewerlayer

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Hans Hagen
\framed{Foo} \stopframedtext \starttextbackground \framed{Foo} \stoptextbackground \stoptext How do it get the same spacing as in the framedtext case? Is there a solution to this? Or an explanation why the spacing differs? these are fundamentally different mechanisms .. you can play

[NTG-context] Re: textbackground spacing offset

2024-01-31 Thread Marco Patzer
> \starttext > \startframedtext > \framed{Foo} > \stopframedtext > \starttextbackground > \framed{Foo} > \stoptextbackground > \stoptext > > How do it get the same spacing as in the framedtext case

[NTG-context] textbackground spacing offset

2023-11-16 Thread Marco Patzer
nothing %% depthcorrection=off, %% does nothing %% topoffset=3mm,%% works, but only for positive values background=, frame=on] \starttext \startframedtext \framed{Foo} \stopframedtext \starttextbackground \framed{Foo} \stoptextbackground \stoptext How do

[NTG-context] Verbatim Textbox with Reference NUmbering

2023-09-09 Thread Jeroen
=mpos:par:myexample, location=paragraph, topoffset=0.4em, leftoffset=0em, rulethickness=0.7pt] \definetyping[Listing] [option=commands] \setuptyping [Listing] [bodyfont=10pt, margin=1em, before=% {\blank[3*medium] \setupinterlinespace[line=2.4ex] \starttextbackground

[NTG-context] Re: Text runs out of Verbatim Frame

2023-09-08 Thread Wolfgang Schuster
] Change the alignment value for your Listing's. \setuptyping   [Listing]   [bodyfont=10pt,  margin=1em, align={flushleft,verytolerant},    before=%      {\blank[3*medium] \setupinterlinespace[line=2.4ex] \starttextbackground[listingbackground]},    after=%  {\stoptextbackground       \blank

[NTG-context] Text runs out of Verbatim Frame

2023-09-08 Thread Jeroen
] [bodyfont=10pt, margin=1em, before=% {\blank[3*medium] \setupinterlinespace[line=2.4ex] \starttextbackground[listingbackground]}, after=% {\stoptextbackground \blank[4*medium]}] \protect \starttext \startListing test test test test test test test test test test test

[NTG-context] Defineenumeration head offset

2022-11-07 Thread Alexandre Christe via ntg-context
, after={\hrule} ] \defineenumeration [example] [ text=Example, headalign=middle, headcolor=white, headcommand={\inframed[background=color,backgroundcolor=darkgreen,width=\textwidth]}, number=no, before={% \starttextbackground[textFrameEx] }, after

[NTG-context] Question about text backgrounds

2022-09-03 Thread Alexandre Christe via ntg-context
ve between \starttextbackground[exampleFrame] and \starttextbackground[exampleFrame] also a figure in addition to text paragraphs. Would it be possible to also draw a rule next to it? Best regards, Alex ___ If you

Re: [NTG-context] Verbatim text in a frame

2021-07-31 Thread Wolfgang Schuster via ntg-context
not seem to work \setupcolors[state=start] \setupcolor[xwi] \definetextbackground    [Code]    [frame=on,     framecolor=black,     %corner=0,     %offset=10pt,     background=color,     backgroundcolor=gray,     location=paragraph] \setuptyping    [before={\blank\starttextbackground[Code

Re: [NTG-context] Verbatim text in a frame

2021-07-30 Thread Hans Hagen via ntg-context
] \definetextbackground   [Code]   [frame=on,    framecolor=black,    %corner=0,    %offset=10pt,    background=color,    backgroundcolor=gray,    location=paragraph] \setuptyping   [before={\blank\starttextbackground[Code]},    after={\stoptextbackground\blank}] \starttext \starttyping

[NTG-context] Verbatim text in a frame

2021-07-30 Thread Jeroen via ntg-context
=on, framecolor=black, %corner=0, %offset=10pt, background=color, backgroundcolor=gray, location=paragraph] \setuptyping [before={\blank\starttextbackground[Code]}, after={\stoptextbackground\blank}] \starttext \starttyping example \stoptyping \stoptext

Re: [NTG-context] textbackground not working

2021-06-25 Thread Hans Hagen
On 6/25/2021 8:33 AM, Christoph Reller wrote: Hi, Consider the MWE: \definetextbackground[background][   background=color,   backgroundcolor=gray] \starttext \starttextbackground[background] Test \stoptextbackground \stoptext In the latest version 2021-06-24 of ConTeXt LMTX

[NTG-context] textbackground not working

2021-06-25 Thread Christoph Reller
Hi, Consider the MWE: \definetextbackground[background][ background=color, backgroundcolor=gray] \starttext \starttextbackground[background] Test \stoptextbackground \stoptext In the latest version 2021-06-24 of ConTeXt LMTX, the textbackground is not working. Could this be a bug or am I

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
n=XML] and then use \startMytyping > > > ... > > > \stopMytyping nothing changes. > > ??? > > > > \definetextbackground > >    [Code] > >    [  frame=off, > >      background=color, > >     backgroundcolor=lightgray, > &

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
frame=off, > background=color, >     backgroundcolor=lightgray, >    location=paragraph] > > \definetyping >    [Mytyping] >    [option=XML] > > \setuptyping >   %[Mytyping] >    [before={\blank\starttextbackground[Code]}, > after={\st

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
. ??? \definetextbackground   [Code]   [  frame=off,     background=color,    backgroundcolor=lightgray,   location=paragraph] \definetyping   [Mytyping]   [option=XML] \setuptyping  %[Mytyping]   [before={\blank\starttextbackground[Code]},     after={\stoptextbackground\blank}] \starttext

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
t; > > > > > > these > > > > > > > and > > > > > > > a > > > > > > > sidebar. No addition spacing / empty lines. > > > > > > A MWE will help... > > > > > > > > > >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
t; > > > a > > > > > > sidebar. No addition spacing / empty lines. > > > > > A MWE will help... > > > > > > > > > > Aditya > > > > For example, take: > > > > > > > > \definetextba

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
? I just want a background to these and a sidebar. No addition spacing / empty lines. A MWE will help... Aditya For example, take: \definetextbackground[code][background=color, backgroundcolor=lightgray, frame=off, location=paragraph] \starttextbackground[code] \starttyping This is some code

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
, take: > > > > \definetextbackground[code][background=color, backgroundcolor=lightgray, > > frame=off, location=paragraph] > > > > \starttextbackground[code] > > \starttyping > > This is some code > > a second line > > \stoptyping > > \st

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Wolfgang Schuster
... Aditya For example, take: \definetextbackground[code][background=color, backgroundcolor=lightgray, frame=off, location=paragraph] \starttextbackground[code] \starttyping This is some code a second line \stoptyping \stoptextbackground You missed the W (working) in MWE. \definetextbackground

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Aditya Mahajan
> > > sidebar. No addition spacing / empty lines. > > > > A MWE will help... > > > > Aditya > > For example, take: > > \definetextbackground[code][background=color, backgroundcolor=lightgray, > frame=off, location=paragraph] >

Re: [NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
> > Aditya For example, take: \definetextbackground[code][background=color, backgroundcolor=lightgray, frame=off, location=paragraph] \starttextbackground[code] \starttyping This is some code a second line \st

[NTG-context] Vertical space when surrounding with textbackground

2020-11-26 Thread Johann Birnick
r (created with \definesidebar) to them. However, when I surround for example my typing with a textbackground like this \starttextbackground[code] \startCpp ... \stopCpp \stoptextbackground or by putting the textbackground commands in "before=" and "after=" of my typing, then there wi

Re: [NTG-context] Piecewise margin line

2020-11-20 Thread Johann Birnick
neenumeration[Theorem][before={\startsidebar[Theorem]},after=\stopsidebar > ] > > Massi Thank you very much. Now I understand why it happens. The `after` gets called after the end of the paragraph. Unfortunately, [before=\dontleavehmode\startsidebar, after=\stopsidebar\par] doesn't work, it do

Re: [NTG-context] Piecewise margin line

2020-11-19 Thread Otared Kavian
, background=color, backgroundcolor=white, ] %%% \defineenumeration[proclaim] [text=, before={\starttextbackground[leftbartext]}, after={\stoptextbackground}, style=slanted, title=yes, titleleft=, titleright

Re: [NTG-context] Text around a figure

2020-07-16 Thread Fabrice Couvreur
, frame=off, location=always, ] \showframe \starttext \starttextbackground[fondpaille] \startplacefigure[number=no,location=right] \externalfigure[dummy] \stopplacefigure \startitemize[n] \dorecurse{3}{\startitem \input ward

Re: [NTG-context] Text around a figure

2020-07-16 Thread Otared Kavian
tbackground[fondpaille] > [background=color, > backgroundcolor=fondpaille, > frame=off, > location=always] > > \starttext > > \starttextbackground[fondpaille] > \startplacefigure[number=no,location=right] > \externalfigure[dummy] &

Re: [NTG-context] Text around a figure

2020-07-16 Thread Fabrice Couvreur
Wolfgang suggests is something like the following: > > \useMPlibrary[dum] > \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] > \definetextbackground[fondpaille] > [background=color, > backgroundcolor=fondpaille, > frame=off, > location=always] > &

Re: [NTG-context] Text around a figure

2020-07-15 Thread Otared Kavian
\starttextbackground[fondpaille] \startplacefigure[number=no,location=right] \externalfigure[dummy] \stopplacefigure \startitemize[n] \dorecurse{3}{\startitem \input ward \stopitem} \stopitemize \stoptextbackground \stoptext Best regards

Re: [NTG-context] Using TestBackground inside Offset

2019-12-23 Thread Wolfgang Schuster
. \definetextbackground [DisplayBackground] [location=paragraph] \definetextbackground [InlineBackground]  [location=text] \starttext X\offset[x=1em]{\starttextbackground[InlineBackground]Text\stoptextbackground} X\offset[x=1em]{\vtop{\starttextbackground[DisplayBackground]Text\crlf Text\stoptextbackground

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Otared Kavian
lmtx without any problem. >>> >>> Thanks in advance for any help, >>> Best regards: OK >> you have some interaction between textrules and backgrounds (and that can be >> a matter of very small differences in dimensions and rounding and such .. i >> just don't

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Wolfgang Schuster
and such .. i just don't see a quick way out) ... esp these backgrounds are an old mechanism (maybe i should alias it to textbackgrounds in lmtx) much better is to use this: \definetextbackground   [xx]   [location=paragraph] \starttextbackground[xx] \stoptextbackground can you try to use

Re: [NTG-context] Strange pagebreaks in LMTX

2019-09-04 Thread Hans Hagen
see a quick way out) ... esp these backgrounds are an old mechanism (maybe i should alias it to textbackgrounds in lmtx) much better is to use this: \definetextbackground [xx] [location=paragraph] \starttextbackground[xx] \stoptextbackground can you try to use that instead? less page

Re: [NTG-context] Unwanted white box above float

2019-07-22 Thread Taco Hoekwater
re] > \setupfloat[thematicimage] > [default=right,none}, > offset=1em, > margin=0em, > background=color, > backgroundcolor=cyan, > rightmargindistance=-1em] > > \starttext > > \starttextbackground[TintBoxed

[NTG-context] Unwanted white box above float

2019-07-22 Thread Duncan Hothersall
, margin=0em, background=color, backgroundcolor=cyan, rightmargindistance=-1em] \starttext \starttextbackground[TintBoxedBackground] {\bf Lorem ipsum dolor sit amet}\blank \placethematicimage{}{\externalfigure[cow][width=0.30\makeupwidth]} Lorem ipsum dolor sit

Re: [NTG-context] Small pages and large framed texts

2019-03-21 Thread Willi Egger
poffset=10pt, > leftoffset=10pt, > location=paragraph, > frame=on] > > \startsetups [xml:setups:start] > \starttextbackground [SetupsParameter] > \stopsetups > > \startsetups [xml:setups:stop] > \stoptextbackground > \stopsetups > > \starttext > > \start

Re: [NTG-context] Small pages and large framed texts

2019-03-20 Thread Wolfgang Schuster
=paragraph, frame=on] \startsetups [xml:setups:start] \starttextbackground [SetupsParameter] \stopsetups \startsetups [xml:setups:stop] \stoptextbackground \stopsetups \starttext \startsection[title={Short Version of the Command}] \cmdshortsetup [setupframed] \cmdshortsetup

Re: [NTG-context] MetaFun: nofmultipars wrong?

2018-09-25 Thread Hans Hagen
(decimal i, ulcorner multipars[i]) withcolor red ; endfor ; \stopuseMPgraphic \definetextbackground [PageFrame] [mp=pageframe, location=paragraph] \starttext \samplefile{knuth} \starttextbackground[PageFrame] \samplefile{knuth} \stoptextbackground \samplefile{knuth

[NTG-context] MetaFun: nofmultipars wrong?

2018-09-24 Thread Henri Menke
=pageframe, location=paragraph] \starttext \samplefile{knuth} \starttextbackground[PageFrame] \samplefile{knuth} \stoptextbackground \samplefile{knuth} \starttextbackground[PageFrame] \samplefile{knuth} \samplefile{knuth} \samplefile{knuth} \stoptextbackground \stoptext test.pdf Description

Re: [NTG-context] \definetextbackground does not fill tables within

2018-08-13 Thread Alan Braslau
mail-archive.com/ntg-context%40ntg.nl/msg78014.html > %width=broad, > %corner=round, > %radius=5ex, > leftoffset=10pt,rightoffset=10pt, > topoffset=10pt,bottomoffset=10pt > %offset=-5pt > ] > > \definestartstop[teoria][

[NTG-context] \definetextbackground does not fill tables within

2018-08-13 Thread dxpublica
,bottomoffset=10pt %offset=-5pt ] \definestartstop[teoria][before={\begingroup\blank[big]\testpage[2]\starttextbackground[bteoria]},after={\stoptextbackground\blank[big]\endgroup}] \starttext \startteoria \input tufte \placetable[force,none][taula:teoria:1]{Recopilació de dades. Conceptes

Re: [NTG-context] Textbackground offset with multi-col paragraphs

2017-11-23 Thread Thomas Floeren
A minimal: > > \defineparagraphs [TestPar][n=2, distance=7mm] > \setupparagraphs [TestPar][1][width=2em] > > \definetextbackground [CB][ > location=paragraph, > backgroundcolor=gray, > leftoffset=.3em, > rightoffset=.3em, > topoffset=.3em, > bottomoffset=.

[NTG-context] Textbackground offset with multi-col paragraphs

2017-11-02 Thread Thomas Floeren
] \definetextbackground [CB][ location=paragraph, backgroundcolor=gray, leftoffset=.3em, rightoffset=.3em, topoffset=.3em, bottomoffset=.3em, frame=off ] \starttext \starttextbackground [CB] \dorecurse {40} {a b c } \stoptextbackground text \starttextbackground [CB] \startTestPar img \TestPar \dorecurse {40

Re: [NTG-context] t-vim module: math in "normal" code and background color

2017-07-17 Thread Henri Menke
le[vim] \definevimtyping   [python]   [syntax=python,    escape=on,    before={\starttextbackground[verbatim]},    after={\stoptextbackground}] \setuptyping   [before={\starttextbackground[verbatim]},    after={\stoptextbackground}] \starttext \starttyping[escape=yes] # Returns /BTEX\m{\sum_{i=1}

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-16 Thread Mathias Schickel
> Am 15.07.2017 um 21:55 schrieb Hans Hagen <pra...@wxs.nl>: > > On 7/15/2017 9:11 PM, Alan Braslau wrote: >> On Wed, 12 Jul 2017 19:05:26 +0200 >> Hans Hagen <pra...@wxs.nl> wrote: >>> best play with textbackgrounds >>> >>> \sta

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Hans Hagen
On 7/15/2017 9:11 PM, Alan Braslau wrote: On Wed, 12 Jul 2017 19:05:26 +0200 Hans Hagen <pra...@wxs.nl> wrote: best play with textbackgrounds \starttext \starttextbackground \dorecurse{10}{test\footnote{tufte}: \input tufte\par} \stoptextbackground \stoptext I have found the fol

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Alan Braslau
On Wed, 12 Jul 2017 19:05:26 +0200 Hans Hagen <pra...@wxs.nl> wrote: > best play with textbackgrounds > > \starttext > > \starttextbackground > \dorecurse{10}{test\footnote{tufte}: \input tufte\par} > \stoptextbackground > > \stoptext > I have found the

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Pablo Rodriguez
> >>\automigrateinserts >>\setuptextbackground[location=paragraph] >>\starttext >>\dorecurse{10}{\starttextbackground >>test\footnote{tufte}: \input knuth\hfill >>\stoptextbackground\blank} >>\stoptext > > What can be done that th

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Mathias Schickel
ext page and footnotes had been at the first page of the theorem. So things worked fine. > > Just in case I got you wrong: is your issue that the background also > covers the footnotes, such as in the first and second pages from: > >\automigrateinserts >\setuptextb

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-15 Thread Pablo Rodriguez
econd pages from: \automigrateinserts \setuptextbackground[location=paragraph] \starttext \dorecurse{10}{\starttextbackground test\footnote{tufte}: \input knuth\hfill \stoptextbackground\blank} \stoptext Just in ca

Re: [NTG-context] Footnote in TABLE isn't rendered anywhere

2017-07-12 Thread Hans Hagen
best play with textbackgrounds \starttext \starttextbackground \dorecurse{10}{test\footnote{tufte}: \input tufte\par} \stoptextbackground \stoptext - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
margin]{}{} \starttextbackground [test] \dorecurse{3}{\readfile{ward}{}{}} \stoptextbackground \stoptext With the ConTeXt Current from 2016.05.19 13:43 I don’t see the issue, everything’s fine there. Here are two screenshots: Desired behavior (Ctx Current): http://d.pr/i/Xgtc Non-desired behavio

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Tom
rgin=0mm, >> rightmargin=45mm, >> height=fit, >> width=fit, >> ] >> >> \definetextbackground [test] >> >> \starttext >> >> \placefigure [margin]{}{} >> >> \starttextbackground [test] >> \dorecurse{3}{\readfile{ward}{}{}} >

Re: [NTG-context] Textbackground issue with margin pictures

2017-04-03 Thread Hans Hagen
for the entire height of the margin picture. Here is a minimal: \setuplayout [ leftmargin=0mm, rightmargin=45mm, height=fit, width=fit, ] \definetextbackground [test] \starttext \placefigure [margin]{}{} \starttextbackground [test] \dorecurse{3}{\readfile{ward}{}{}} \stoptextbackground

[NTG-context] Textbackground issue with margin pictures

2017-04-02 Thread Tom
picture. Here is a minimal: \setuplayout [ leftmargin=0mm, rightmargin=45mm, height=fit, width=fit, ] \definetextbackground [test] \starttext \placefigure [margin]{}{} \starttextbackground [test] \dorecurse{3}{\readfile{ward}{}{}} \stoptextbackground \stoptext With the ConTeXt Current

Re: [NTG-context] RTL bug in textbackground

2016-07-03 Thread Hans Hagen
, frame=off, location=text, color=blue] \starttext \starttextbackground[intro] A rather common way to draw attention to a passage, is to add a background. In this chapter we will therefore discuss how to enhance your document

[NTG-context] RTL bug in textbackground

2016-07-03 Thread Mohammad Hossein Bateni
, location=text, color=blue] \starttext \starttextbackground[intro] A rather common way to draw attention to a passage, is to add a background. In this chapter we will therefore discuss how to enhance your document with \starttextbackground [subintro] colorful areas that either

[NTG-context] Textbackgrounds interrupted by floats

2015-04-07 Thread Robin.Kirkham
][ frame=off, location=paragraph, background=color, backgroundcolor=yellow] \setuptyping[typing][ %option=color, before={\starttextbackground[code]}, after=\stoptextbackground] \starttext \startplacefigure[location=bottom] \externalfigure[cow][width=0.5\textwidth

Re: [NTG-context] textbackground

2015-02-26 Thread Hans Hagen
[nl] \setnewconstant\kindofpagetextareas 1 % low level, no high level switch (yet) \starttext \starttextbackground[en] \dorecurse{10}{\input tufte \footnote{tufte} \par} \stoptextbackground \starttextbackground[nl] \dorecurse{10}{\input tufte \footnote{tufte} \par

[NTG-context] textbackground within framedtext

2015-02-18 Thread Christoph Reller
\par \starttextbackground[bg] \input knuth \stoptextbackground \par After \stopframedtext \input tufte \par \starttextbackground[bg] \dorecurse{2}{\input knuth \par} \stoptextbackground \input tufte \stoptext Any feedback is welcome, Regards, Christoph

Re: [NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
: location=text \definehead [Framed][chapter] \definehead [Frameless] [chapter] \setuphead [Frameless] [before={\blank[2*line]}] \setuphead [Framed] [page=no, before=, beforesection={\page\blank[2*line]\starttextbackground[ChapterFrame]}, aftersection=\stoptextbackground

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
=, beforesection={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page

[NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Keith J. Schultz
] [before={\blank[2*line]}] \setuphead [Framed] [page=no, before=, beforesection={\page\blank[2*line]\starttextbackground[ChapterFrame]}, aftersection=\stoptextbackground] \starttext \startnamedsection[Frameless][title=Chapter without frame] \input knuth \stopnamedsection

[NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
=,alternative=text,indentnext=no] \setuphead[summary][number=no,style=bold,before=,after={\blank[sprong]},beforesection={\noindentation\page\starttextbackground[SummaryBackground]},aftersection={\stoptextbackground\page}] \setupwhitespace[none] \setupindenting[yes, small, next] \definetextbackground

Re: [NTG-context] section with \sethupead[section][alternative=text]; other type of section misbehaves..

2015-01-31 Thread Rob Heusdens
]},after=,indentnext=no] \setuphead[summary][number=no,style=bold,before=,after={\blank[sprong]},beforesection={\noindentation\page\starttextbackground[SummaryBackground]},aftersection={\stoptextbackground\page}] \setupwhitespace[none] \setupindenting[yes, small, next] \definetextbackground

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Wolfgang Schuster
\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \starttext \startsection[title=Knuth] \input{knuth} \stopsection \startsummary[title=Zapf] \input{zapf} \stopsummary \stoptext

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Wolfgang Schuster
\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \starttext \startsection[title=Knuth] \input{knuth} \stopsection \startsummary[title=Zapf] \input{zapf} \stopsummary \stoptext Wolfgang Hello Wolfgang, Your example works. After

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page \dorecurse{9

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
] [frame=off,offset=none,frameoffset=0pt, background=color, backgroundcolor=gray, backgroundoffset=2ex] \definehead[summary][section] \setuphead [summary] [number=no, style=bold, before=, beforesection={\noindentation\page\starttextbackground[SummaryBackground]}, aftersection

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
Use text backgrounds. \definetextbackground [SummaryBackground] [frame=off, background=color, backgroundcolor=gray] \definehead[summary][section] \setuphead [summary] [before=, beforesection={\blank\starttextbackground[SummaryBackground]}, aftersection

Re: [NTG-context] textbackground inside itemize

2014-07-09 Thread Hans Hagen
=on] \startitemize[n,2*broad] \item Here is my first item \starttextbackground[foo] Here is some long text that demonstrates how the background color is wrong on the second line and all successive lines of this paragraph. \stoptextbackground

[NTG-context] textbackground inside itemize

2014-07-08 Thread Troy Henderson
] \definetextbackground[foo][ state=start, location=paragraph, background=color, backgroundcolor={0.875,0.875,0.875}, frame=off ] \starttext \startcolumns[n=2,rule=on] \startitemize[n,2*broad] \item Here is my first item \starttextbackground[foo

[NTG-context] \starttextbackground and \startbackground equivalent options

2014-05-25 Thread Xan
, backgroundoffset=5pt, framecorner=round, radius=5ex, frameoffset=5pt]}, after=\stopbackground ] and I want an equivalent one with starttextbackground. I try this: \definetextbackground[provateoria] [background=color, backgroundcolor=mteoria, location=paragraph, frame=on, width

Re: [NTG-context] \startbackground with footnote

2014-05-23 Thread Xan
Thanks Aditya. What's the difference between startbackground and starttextbackground? I can't see the options of textbackground. Thanks, ___ If your question is of interest to others as well, please add an entry

[NTG-context] Undefined \continueifinputfile on presentation

2013-08-13 Thread Pau
] % [location=text,alternative=1,background=,frame=off] % \definestartstop % [underline] % [before={\starttextbackground[underline

[NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Marco Patzer
Hi, I need different settings for code in inline and block mode. See the following example: \usemodule [vim] \definetextbackground [C] [location=text] \definevimtyping [C] [syntax=c, before={\starttextbackground[C]}, after=\stoptextbackground, margin=2em] \starttext This is C

Re: [NTG-context] Vim module - different settings for inline and block code

2013-01-16 Thread Wolfgang Schuster
Am 16.01.2013 um 15:51 schrieb Marco Patzer home...@lavabit.com: Hi, I need different settings for code in inline and block mode. See the following example: \usemodule [vim] \definetextbackground [C] [location=text] \definevimtyping [C] [syntax=c, before={\starttextbackground[C

[NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Lars Huttar
] \starttextbackground[text] \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated]}, after={\stopalignment \stopcolumnset \stoptextbackground \setupbackgrounds[text][background=off]}] From that, one might guess

Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Hans Hagen
={\setupbackgrounds[text][background=verticalline] \starttextbackground[text] \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated]}, after={\stopalignment \stopcolumnset \stoptextbackground \setupbackgrounds

Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Lars Huttar
[text][background=verticalline] // \starttextbackground[text] // \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] // \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated]}, // after={\stopalignment \stopcolumnset \stoptextbackground

Re: [NTG-context] (XeTeX) trouble debugging a Missing number error

2012-12-05 Thread Wolfgang Schuster
// \definestartstop //[abblist] //[before={\setupbackgrounds[text][background=verticalline] // \starttextbackground[text] // \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left] // \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated

[NTG-context] Left margin of vim module output

2012-08-01 Thread Marco Patzer
, %leftoffset=1cm, topoffset=5mm] \definevimtyping [C] [syntax=c, before={\starttextbackground[code]}, after=\stoptextbackground] \setuptyping [typing] [margin=1cm, before={\starttextbackground[code]}, after=\stoptextbackground] \starttext \startC /* This MEMB() definition

[NTG-context] tables

2012-06-14 Thread Hans Hagen
Hi, two table mechanisms now have the textwidth (max available width) set to local which makes it work inside for instance text backgrounds \starttext \starttextbackground \input ward \bTABLE % [textwidth=local] \bTR \bTD \input ward \eTD \bTD \input

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-28 Thread Hans Hagen
... \stopTimelineGeneralDocument So I'm not really sure what I am suppose to do with \starttextbackground? apart from a funny corner at least it helps if the colors are defined \definecolor[colour_page][red] \definecolor[colour_text][green

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-26 Thread Kip Warner
On Fri, 2012-02-24 at 05:34 +0100, Wolfgang Schuster wrote: You should make a minimal example with \starttextbackground which produces the same error as your document. As a minimal, it seems to work. But as part of my book, it bails with the following: graphics invalid region for 'tbg

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-23 Thread Wolfgang Schuster
Am 24.02.2012 um 01:12 schrieb Kip Warner: On Wed, 2012-02-22 at 22:21 +0100, Wolfgang Schuster wrote: \starttextbackground Wolfgang I have the following defined in my environment: \definetextbackground[TimelineGeneralDocument][ location=paragraph, color=color_text

Re: [NTG-context] Broken Nightly (2012.02.18)

2012-02-22 Thread Wolfgang Schuster
Am 22.02.2012 um 22:17 schrieb Kip Warner: On Wed, 2012-02-22 at 22:08 +0100, Wolfgang Schuster wrote: Check text backgrounds in your document, Hans made a few changes in the code to make it faster. Any suggestions on what I should look for? Thanks. \starttextbackground Wolfgang

Re: [NTG-context] [beta] anch-pos.lua

2012-02-17 Thread Hans Hagen
test \starttextbackground[b] \input ward \parshape 5 5cm 8cm 4cm 8cm 3cm 8cm 2cm 8cm 1cm 8cm \input ward \input ward \input ward \stoptextbackground{} test \stoptext

[NTG-context] beta

2012-02-16 Thread Hans Hagen
, the region key is a new one in framed so anything that can be framed can also have fancy text backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward

Re: [NTG-context] beta

2012-02-16 Thread Otared Kavian
results. Actually, the region key is a new one in framed so anything that can be framed can also have fancy text backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward

Re: [NTG-context] beta

2012-02-16 Thread Otared Kavian
backgrounds. Yet another improvement is that (although rather untested) you can do things like \starttextbackground[r] START \dorecurse{10}{ \dorecurse{1}{\input ward } \placefigure[right]{}{} some text before BEGIN \dorecurse{2}{\input ward } END some after

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Philipp Gesang
background looks weird even after. · \definetextbackground[tb] \setuptyping[ after={\stoptextbackground}, before={\starttextbackground[tb]}, ] \starttext foo \starttyping bar \stoptyping baz \starttabulate[|r|l|] \NC foo \NC

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Hans Hagen
this exact series of macros causes the issue. Please have a look at it anyways because the text background looks weird even after. · \definetextbackground[tb] \setuptyping[ after={\stoptextbackground}, before={\starttextbackground[tb

Re: [NTG-context] [beta] anch-pos.lua

2012-02-16 Thread Philipp Gesang
of macros causes the issue. Please have a look at it anyways because the text background looks weird even after. · \definetextbackground[tb] \setuptyping[ after={\stoptextbackground}, before={\starttextbackground[tb]}, ] add

[NTG-context] [beta] background behaviour

2012-02-09 Thread Philipp Gesang
: · \definetextbackground[verbatim] [ background=color, backgroundcolor=green, location=paragraph, ] \starttext \placefigure[2*hang,left]{}{test} %%% comment me \input knuth \starttextbackground[verbatim] foo bar \stoptextbackground \placefigure[here]{}{test} %%% comment me \stoptext

Re: [NTG-context] current beta fails install

2012-01-10 Thread Hans Hagen
] \starttext \startitemize \starttextbackground[testA] \item \input tufte \stoptextbackground \stopitemize \stoptext (/Users/hans/TeX/context/tex/texmf-context/tex/context/sample/tufte.tex) ! Extra }, or forgotten \endgroup. system tex error on line 15 in file textbackground.tex: Extra }, or forgotten

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Otared Kavian
, no \framedtext appears (thee rsult is the same when \framedtext is before textbackground). The example is: \starttext \definetextbackground[test][backgroundcolor=lightgray] \starttextbackground[test] \input ward \input ward \stoptextbackground \startframedtext \input knuth \stopframedtext

Re: [NTG-context] Broken textbackground

2011-12-19 Thread Hans Hagen
it follows \startbackground …. \stopbackground, no \framedtext appears (thee rsult is the same when \framedtext is before textbackground). The example is: \starttext \definetextbackground[test][backgroundcolor=lightgray] \starttextbackground[test] \input ward \input ward \stoptextbackground

  1   2   3   >